package com.ruoyi.system.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * banner管理对象 banner
 * 
 * @author ruoyi
 * @date 2023-04-28
 */
public class Banner extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** Banner名称，通常作为标识 */
    @Excel(name = "Banner名称，通常作为标识")
    private String name;

    /** Banner描述 */
    @Excel(name = "Banner描述")
    private String description;

    /** banner子项信息 */
    private List<BannerItem> bannerItemList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public List<BannerItem> getBannerItemList()
    {
        return bannerItemList;
    }

    public void setBannerItemList(List<BannerItem> bannerItemList)
    {
        this.bannerItemList = bannerItemList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("description", getDescription())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("bannerItemList", getBannerItemList())
            .toString();
    }
}
